package telco.provider.service;

import java.util.Vector;

import javax.jws.WebService;
import javax.jws.WebParam;

import swa2012.telco.broker.beans.Client;
import swa2012.telco.broker.beans.Message;
import swa2012.telco.broker.beans.Provider;
import swa2012.telco.broker.beans.ReceiveMessageStatus;
import telco.provider.beans.ProviderRegistrationStatus;

@WebService
public interface ClientService {
	public ProviderRegistrationStatus registerClient (@WebParam(name="client") Client c);
	public ProviderRegistrationStatus deregisterClient(@WebParam(name="client") Client c);
	public Vector<Message> getMessagesForClient (@WebParam(name="client") Client c);
	public Vector<Client> getAvailableClients ();
	public Vector<Provider> getAvailableProviders ();
	public ReceiveMessageStatus receiveMessage(Message msg);
}